package com.cn.yz.springboot.jersey;

public enum HttpStatus {
	OK("200","success"),
	FAIL("201","fail"),
	EMPTY("202","data is empty");
	
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	private String code;
	private String msg;
	
	private HttpStatus(String code,String msg){
		this.code = code;
		this.msg = msg;
	}
}
